//
//  TableViewCell.m
//  TianyaGuest
//
//  Created by liuwenyang on 14-8-19.
//  Copyright (c) 2014年 liuwenyang. All rights reserved.
//

#import "TableViewCell.h"


@implementation TableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _screenSize = [UIScreen mainScreen].bounds.size;
    }
    return self;
}

- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setValue:(id)data
{
    //virtual methods
}

- (void)setValue:(id)data andIndexPath:(NSIndexPath *)indexPath
{
    
}

+ (CGFloat)heightForTableViewCell:(id)data andIndexPath:(NSIndexPath *)indexPath
{
    return 44.0f;
}

+ (CGFloat)heightForTableViewCell:(id)data
{
    return 44.0f;
}

+ (CGFloat)heightForTableViewCell:(id)data andBool:(BOOL)tag
{
    return 44.0f;
}


- (void)dealloc
{
    NSLog(@"TableViewCell dealloc");
}

@end
